﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AE3 RID: 2787
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MatchThreeGetDataScRsp : IMessage<MatchThreeGetDataScRsp>, IMessage, IEquatable<MatchThreeGetDataScRsp>, IDeepCloneable<MatchThreeGetDataScRsp>, IBufferMessage
	{
		// Token: 0x1700232A RID: 9002
		// (get) Token: 0x06007CB3 RID: 31923 RVA: 0x0014CC91 File Offset: 0x0014AE91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MatchThreeGetDataScRsp> Parser
		{
			get
			{
				return MatchThreeGetDataScRsp._parser;
			}
		}

		// Token: 0x1700232B RID: 9003
		// (get) Token: 0x06007CB4 RID: 31924 RVA: 0x0014CC98 File Offset: 0x0014AE98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MatchThreeGetDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700232C RID: 9004
		// (get) Token: 0x06007CB5 RID: 31925 RVA: 0x0014CCAA File Offset: 0x0014AEAA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MatchThreeGetDataScRsp.Descriptor;
			}
		}

		// Token: 0x06007CB6 RID: 31926 RVA: 0x0014CCB1 File Offset: 0x0014AEB1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeGetDataScRsp()
		{
		}

		// Token: 0x06007CB7 RID: 31927 RVA: 0x0014CCBC File Offset: 0x0014AEBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeGetDataScRsp(MatchThreeGetDataScRsp other) : this()
		{
			this.matchThreeData_ = ((other.matchThreeData_ != null) ? other.matchThreeData_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007CB8 RID: 31928 RVA: 0x0014CD08 File Offset: 0x0014AF08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeGetDataScRsp Clone()
		{
			return new MatchThreeGetDataScRsp(this);
		}

		// Token: 0x1700232D RID: 9005
		// (get) Token: 0x06007CB9 RID: 31929 RVA: 0x0014CD10 File Offset: 0x0014AF10
		// (set) Token: 0x06007CBA RID: 31930 RVA: 0x0014CD18 File Offset: 0x0014AF18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeData MatchThreeData
		{
			get
			{
				return this.matchThreeData_;
			}
			set
			{
				this.matchThreeData_ = value;
			}
		}

		// Token: 0x1700232E RID: 9006
		// (get) Token: 0x06007CBB RID: 31931 RVA: 0x0014CD21 File Offset: 0x0014AF21
		// (set) Token: 0x06007CBC RID: 31932 RVA: 0x0014CD29 File Offset: 0x0014AF29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06007CBD RID: 31933 RVA: 0x0014CD32 File Offset: 0x0014AF32
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MatchThreeGetDataScRsp);
		}

		// Token: 0x06007CBE RID: 31934 RVA: 0x0014CD40 File Offset: 0x0014AF40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MatchThreeGetDataScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.MatchThreeData, other.MatchThreeData) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007CBF RID: 31935 RVA: 0x0014CD90 File Offset: 0x0014AF90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.matchThreeData_ != null)
			{
				num ^= this.MatchThreeData.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007CC0 RID: 31936 RVA: 0x0014CDE5 File Offset: 0x0014AFE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007CC1 RID: 31937 RVA: 0x0014CDED File Offset: 0x0014AFED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007CC2 RID: 31938 RVA: 0x0014CDF8 File Offset: 0x0014AFF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Retcode);
			}
			if (this.matchThreeData_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.MatchThreeData);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007CC3 RID: 31939 RVA: 0x0014CE54 File Offset: 0x0014B054
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.matchThreeData_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.MatchThreeData);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007CC4 RID: 31940 RVA: 0x0014CEAC File Offset: 0x0014B0AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MatchThreeGetDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.matchThreeData_ != null)
			{
				if (this.matchThreeData_ == null)
				{
					this.MatchThreeData = new MatchThreeData();
				}
				this.MatchThreeData.MergeFrom(other.MatchThreeData);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007CC5 RID: 31941 RVA: 0x0014CF14 File Offset: 0x0014B114
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007CC6 RID: 31942 RVA: 0x0014CF20 File Offset: 0x0014B120
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 90U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.matchThreeData_ == null)
						{
							this.MatchThreeData = new MatchThreeData();
						}
						input.ReadMessage(this.MatchThreeData);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002FA2 RID: 12194
		private static readonly MessageParser<MatchThreeGetDataScRsp> _parser = new MessageParser<MatchThreeGetDataScRsp>(() => new MatchThreeGetDataScRsp());

		// Token: 0x04002FA3 RID: 12195
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002FA4 RID: 12196
		public const int MatchThreeDataFieldNumber = 11;

		// Token: 0x04002FA5 RID: 12197
		private MatchThreeData matchThreeData_;

		// Token: 0x04002FA6 RID: 12198
		public const int RetcodeFieldNumber = 3;

		// Token: 0x04002FA7 RID: 12199
		private uint retcode_;
	}
}
